package com.security.exception;

/**
 * ${DESCRIPTION}
 *
 * @author roger
 * @email 190642964@qq.com
 * @create 2017-11-01 16:59
 **/
public class CustomException extends RuntimeException {

    private String code;

    public CustomException(String code){
        super("自定义异常");
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
